// 渲染图标的函数
import {  h } from "vue";
import { NIcon } from "naive-ui";

function renderIcon(icon) {
  return () => h(NIcon, null, { default: () => h(icon) });
}

export {
  renderIcon 
}